<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1,user-scalable=no" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <title>{$title}</title>
    <css href="__PUBLIC__/css/reset.css"/>
    <css href="__PUBLIC__/css/style.css"/>
    <css href="__PUBLIC__/css/bootstrap.min.css"/>
</head>
<body>
<div id="nav">
    <div class="container">
        <div class="row">
            <div class="col-lg-12" style="background-color: #ff2d4b;">
                <div class="col-lg-2" style="padding-left: 0px;">
                    <img src="__PUBLIC__/images/LOGO2.png" class="img-responsive"/>
                </div>
                <div class="col-lg-8">

                </div>
                <div class="col-lg-2" style="font-size: 16px; font-family: '黑体'; text-align: center; line-height: 55px;">
                    <if condition="$_COOKIE['username']">
                        <a style="color: #F3F3F3;" href="{:U('/detail')}" title="当前用户:{$_COOKIE['username']}">{$_COOKIE['ShortName']}</a>
                        |
                        <a style="color: #F3F3F3;" href="{:U('/quit')}" title="退出">退出</a>
                    <else/>
                        <a style="color: #F3F3F3;" href="{:U('/login')}">登录</a>
                        |
                        <a style="color: #F3F3F3;"  href="{:U('/mstreg')}">注册</a>
                    </if>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>